package com.zzhrtech.wgzx_cityzen.beans.contact;

import java.util.List;

/**
 * Created by renxiangpeng on 16/9/21.
 */
public class PrizeListBean {
    String code;
    String msg;
    List<Data> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data{
        String activityId;
        String uid;
        String nickname;
        String headimgth;
        String truename;
        String phone;
        String address;
        String good_id;
        String good_name;
        String good_imgth;

        public String getActivityId() {
            return activityId;
        }

        public void setActivityId(String activityId) {
            this.activityId = activityId;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getHeadimgth() {
            return headimgth;
        }

        public void setHeadimgth(String headimgth) {
            this.headimgth = headimgth;
        }

        public String getTruename() {
            return truename;
        }

        public void setTruename(String truename) {
            this.truename = truename;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getGood_id() {
            return good_id;
        }

        public void setGood_id(String good_id) {
            this.good_id = good_id;
        }

        public String getGood_name() {
            return good_name;
        }

        public void setGood_name(String good_name) {
            this.good_name = good_name;
        }

        public String getGood_imgth() {
            return good_imgth;
        }

        public void setGood_imgth(String good_imgth) {
            this.good_imgth = good_imgth;
        }
    }

    public boolean isSuccess(){
        return code.equals("0");
    }

}
